Search results
116 packages found
Find the root directory of a Node.js project or npm package
compute the closest common parent for file paths
Computes the longest prefix string that is common to each path, excluding the base component
Determine an app's root path from anywhere inside the app
Get the directory of globally installed packages and binaries
Find the root path of a monorepo using various strategies.
Get the root of a posix or windows filepath.
Regular expression for getting the root of a posix or windows filepath.
Simple module to infer the root directory of the currently running node application
Determine an app's root path from anywhere inside the app
Path manager for Node.js
- node
- require
- path
- paths
- manager
- relative
- from
- project root
- absolute
- absolute path
- absolutepath
- root
- rootpath
- root path
Requiring or import modules/folders/files based on your root directory
A small collection of sync & async filesystem functions in Node.js.
Require a module using a root relative path
An NPM module with tools, helper functions, and utilities for building a flawless Electron app 🚀
Enforces a nodejs script to run with the entry points path as the cwd
Utility that makes it easier to reference paths relative to some base dir throughout your codebase.
Transforms require module paths that have a prefix referring to the project root. Also works on `require.resolve`.